package com.medical.medical.service;

import com.medical.medical.entity.Card;
import com.medical.medical.entity.Drug;

import java.util.List;

public interface DrugService {
    List<Drug> getDrugByRecordId(int recordId);

     /**
      *@author WangLuDong
      *@Description 方法描述 根据药品名称查询药品信息
      *@Date 2022-09-14 23:04:39
       * @param drugName
      *@Return {@link null}
      */
     List<Drug> getAllDrug(String drugName);

      /**
       *@author WangLuDong
       *@Description 方法描述 添加药品信息
       *@Date 2022-09-14 23:18:56
        * @param drug
       *@Return {@link null}
       */
    boolean addDrug(Drug drug);


    Card getCard(int pId1);

    boolean editBalance(double balance1);
}
